package com.digitalchina.dcn.dcss.web.dao;

import com.digitalchina.dcn.dcss.web.model.Resource;
import com.digitalchina.dcn.dcss.core.generic.GenericDao;

import java.util.List;

public interface ResourceMapper extends GenericDao<Resource, Long>{

    int insert(Resource record);

    int updateByPrimaryKey(Resource record);

    List<Resource> findAll();

    Resource findByResourceName(String name);
}